package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService {

    List<Dept> getDeptList();

    void deleteDeptById(Integer id);

    void saveDept(String name);

    Dept getById(Integer id);

    void updateDept(Dept dept);

}
